package com.dunqi.gpm.cangxi.home.widget;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;

import com.dunqi.gpm.cangxi.R;

import butterknife.BindView;

/**
 * Created by 空 on 2017/11/22 0022.
 */

public class ProjectVerifyView extends FrameLayout {

    @BindView(R.id.verify_type_tv)
    NormalView verifyTypeTv;
    @BindView(R.id.verify_organization_tv)
    NormalView verifyOrganizationTv;
    @BindView(R.id.verify_time_tv)
    NormalView verifyTimeTv;
    @BindView(R.id.verify_result_tv)
    NormalView verifyResultTv;
    @BindView(R.id.verify_opinion_tv)
    TextView verifyOpinionTv;
    @BindView(R.id.right_arraw_iv)
    ImageView rightArrawIv;

    public ProjectVerifyView(@NonNull Context context) {
        this(context, null);
    }

    public ProjectVerifyView(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
        LayoutInflater.from(context).inflate(R.layout.project_verify, this);
    }

    public void setArrawGone(boolean gone) {
        rightArrawIv.setVisibility(gone ? INVISIBLE : VISIBLE);
    }
}
